package com.cmccgz.udacs_landlord_webapp.main.peoplemanager.contract;

import com.cmccgz.baselibrary.base.BasePresenter;
import com.cmccgz.baselibrary.base.BaseView;
import com.cmccgz.udacs_landlord_webapp.bean.RenterBean;

import java.util.List;

/**
 *
 * @ClassName: PeopleContract
 * @Description:租客列表
 * @author Denis
 * @date 2017/6/7 11:16
 *
 */

public interface PeopleListContract {
    interface Presenter extends BasePresenter{
        void initData(String mobile, String q_word,
                      String o_cond, String page);

    }
    interface View extends BaseView<Presenter>{
        void getData(List<RenterBean> datas);
        void showLoading();
        void refreshSuccess(List<RenterBean> data);
        void refreshFail(String errorMsg);
        void loadmoreSuccess(List<RenterBean> data);
    }
}
